//
//  ReplyMineCell.m
//  JiaoX
//
//  Created by yinqy on 15/2/27.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//

#import "ReplyMineCell.h"
#import "ReplyMineView.h"

@interface ReplyMineCell()
@property (nonatomic, weak) ReplyMineView *replyMineView;
@end
@implementation ReplyMineCell

+ (instancetype)cellWithTableView:(UITableView *)tableView
{
    static NSString *ID = @"replymineitem";
    ReplyMineCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (!cell) {
        cell = [[ReplyMineCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:ID];
    }
    return cell;
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        ReplyMineView *replyMineView =  [[ReplyMineView alloc]init];
        self.replyMineView = replyMineView;
        [self addSubview:replyMineView];
        
    }
    return self;
}

-(void)setReplyMineCellFrame:(ReplyMineCellFrame *)replyMineCellFrame{
    _replyMineCellFrame = replyMineCellFrame;
    _replyMineView.replymineCellFrame = replyMineCellFrame;
}

@end
